import java.awt.*;
import javax.swing.*;

public class aboutUs extends JInternalFrame {
 	                                   
 	 private int paintx, painty;
 	 private String s;
 	 
    public aboutUs() {
        super("About Us", 
              true, //resizable
              true, //closable
              true, //maximizable
              true);//iconifiable
            
        int inset = 100;
        Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
        Container c = getContentPane();
        setSize(550,400);
 		//setLocation(0, 0);
 		paintx = (screenSize.width);
		painty = (screenSize.height);
		
		s=new String("\tThis Program has been developed by Fazley Rabbi."
				+"\n\tStudent of DIU. Roll 6039."
				+"\n\tThis has been developed not for any additional "
				+"\n\tpurpose rather it is one of University Project."
				+"\n\tThis Project has been Developed with RMI "
				+"\n\n\tIt is highly recommanded that Nobody should change codes"
				+"\n\tto it. "
				+"\n\tFor any additional help Contact at \n\n\trabbi6039@yahoo.com");
	
		JTextArea ta = new JTextArea(s,20,20);
		ta.setEditable(false);
		ta.setFont(new Font("SansSerif",Font.BOLD,14));
		ta.setForeground(Color.gray);
		ta.setBackground(Color.pink);		
 		setResizable(false);
 		show();
 		
 		JLabel logo = new JLabel();
		Icon accLogo = new ImageIcon("MINAR.GIF");
		//logo.setIcon( accLogo );
		setBounds(100,100,600,300 );
		
		c.add(ta);
 		
        
    }
 	
}